import {createRouter, createWebHashHistory, createWebHistory} from "vue-router";
const routes = [
    {
        path:'/',
        name:'home',
        component:() => import('../view/Home.vue')
    },
    {
        path:'/imageGallery',
        name:'imageGallery',
        component: () => import('../view/imageGallery.vue')
    }
]

const router = new createRouter({
    history:createWebHashHistory(),
    routes
})

export default router

